package com.wjbgn.electronicnian.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;

import io.swagger.models.auth.In;
import lombok.Data;

/**
 * Description: 
 * Create Date: 2022-01-20T11:06:12.859722400
 * @author weirx
 * @version 1.0
 */
@Data
@ApiModel(value = "NianDTO", description = "数据传输对象NianDTO")
public class NianDTO extends PageDTO {

        /**
         * 
         */
        @ApiModelProperty(notes = "")
            @JsonFormat(shape = JsonFormat.Shape.STRING)
        private Long id;

        /**
         * 主人id
         */
        @ApiModelProperty(notes = "主人id")
            @JsonFormat(shape = JsonFormat.Shape.STRING)
        private Long userId;

        /**
         * 年兽名称
         */
        @ApiModelProperty(notes = "年兽名称")
        private String nianName;

        /**
         * 年兽饥饿值100，0即死亡
         */
        @ApiModelProperty(notes = "年兽饥饿值100，0即死亡")
        private Integer hungryNum;

        /**
         * 创建时间
         */
        @ApiModelProperty(notes = "创建时间")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        /**
         * 更新时间
         */
        @ApiModelProperty(notes = "更新时间")
            @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

        /**
         * 是否删除 1：是  0否
         */
        @ApiModelProperty(notes = "是否删除 1：是  0否")
        private Integer isDelete;

        private Integer dumplingsNum;
}
